.class final Lcom/wqmobile/sdk/widget/u;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field private synthetic a:Lcom/wqmobile/sdk/widget/t;

.field private final synthetic b:Z


# direct methods
.method constructor <init>(Lcom/wqmobile/sdk/widget/t;Z)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/widget/u;->a:Lcom/wqmobile/sdk/widget/t;

    iput-boolean p2, p0, Lcom/wqmobile/sdk/widget/u;->b:Z

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final run()V
    .locals 2

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/u;->a:Lcom/wqmobile/sdk/widget/t;

    invoke-static {v0}, Lcom/wqmobile/sdk/widget/t;->a(Lcom/wqmobile/sdk/widget/t;)Lcom/wqmobile/sdk/widget/ADView;

    move-result-object v0

    invoke-virtual {v0}, Lcom/wqmobile/sdk/widget/ADView;->getVisibility()I

    move-result v0

    if-nez v0, :cond_2

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/u;->a:Lcom/wqmobile/sdk/widget/t;

    invoke-static {v0}, Lcom/wqmobile/sdk/widget/t;->a(Lcom/wqmobile/sdk/widget/t;)Lcom/wqmobile/sdk/widget/ADView;

    move-result-object v0

    invoke-virtual {v0}, Lcom/wqmobile/sdk/widget/ADView;->isShown()Z

    move-result v0

    if-eqz v0, :cond_2

    iget-boolean v0, p0, Lcom/wqmobile/sdk/widget/u;->b:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/u;->a:Lcom/wqmobile/sdk/widget/t;

    invoke-static {v0}, Lcom/wqmobile/sdk/widget/t;->a(Lcom/wqmobile/sdk/widget/t;)Lcom/wqmobile/sdk/widget/ADView;

    move-result-object v0

    invoke-static {v0}, Lcom/wqmobile/sdk/widget/ADView;->x(Lcom/wqmobile/sdk/widget/ADView;)Lcom/wqmobile/sdk/model/AdvertisementProperties;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getRunningCount()Ljava/lang/Integer;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I

    move-result v1

    add-int/lit8 v1, v1, 0x1

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->setRunningCount(Ljava/lang/Integer;)V

    invoke-static {}, Lcom/wqmobile/sdk/widget/ADView;->b()Lcom/wqmobile/sdk/a/a;

    invoke-static {}, Lcom/wqmobile/sdk/a/a;->d()I

    move-result v1

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->setRemainShowTime(Ljava/lang/Integer;)V

    :cond_0
    iget-object v0, p0, Lcom/wqmobile/sdk/widget/u;->a:Lcom/wqmobile/sdk/widget/t;

    invoke-static {v0}, Lcom/wqmobile/sdk/widget/t;->a(Lcom/wqmobile/sdk/widget/t;)Lcom/wqmobile/sdk/widget/ADView;

    move-result-object v0

    invoke-static {v0}, Lcom/wqmobile/sdk/widget/ADView;->y(Lcom/wqmobile/sdk/widget/ADView;)V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/u;->a:Lcom/wqmobile/sdk/widget/t;

    invoke-static {v0}, Lcom/wqmobile/sdk/widget/t;->a(Lcom/wqmobile/sdk/widget/t;)Lcom/wqmobile/sdk/widget/ADView;

    move-result-object v0

    invoke-static {v0}, Lcom/wqmobile/sdk/widget/ADView;->z(Lcom/wqmobile/sdk/widget/ADView;)V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/u;->a:Lcom/wqmobile/sdk/widget/t;

    invoke-static {v0}, Lcom/wqmobile/sdk/widget/t;->a(Lcom/wqmobile/sdk/widget/t;)Lcom/wqmobile/sdk/widget/ADView;

    move-result-object v0

    invoke-static {v0}, Lcom/wqmobile/sdk/widget/ADView;->q(Lcom/wqmobile/sdk/widget/ADView;)V

    :cond_1
    :goto_0
    return-void

    :cond_2
    sget-object v0, Lcom/wqmobile/sdk/a/f;->a:Ljava/lang/Boolean;

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-static {}, Lcom/wqmobile/sdk/widget/ADView;->b()Lcom/wqmobile/sdk/a/a;

    const-string v0, "TestNewLoop"

    const-string v1, "I\'m invisiable"

    invoke-static {v0, v1}, Lcom/wqmobile/sdk/a/a;->a(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0
.end method
